package cn.edu.gdut.deepcode.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 画布基础信息VO
 * </p>
 *
 * @author author
 * @since 2025-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CanvasVO对象", description="画布基础信息VO")
public class CanvasVO {

    @ApiModelProperty(value = "画布id")
    private Long canvasId;

//    @ApiModelProperty(value = "用户id")
//    private Long userId;

    @ApiModelProperty(value = "画布标题")
    private String title;

    @ApiModelProperty(value = "画布封面")
    private String img;

    @ApiModelProperty(value = "画布封面缩放系数")
    private Double zoom;

    @ApiModelProperty(value = "当前的user_id对应的用户是否为画布主人")
    private Boolean isOwner;

    @ApiModelProperty(value = "true为分享中,false为未分享")
    private Boolean sharing;

    @ApiModelProperty(value = "分享码")
    private String sharedCode;
}
